load weights;
TRAINING_PERCENTAGE = 0;
patterns = get_patterns;
testing_patterns = patterns{2}(1:3,:);
S_testing_patterns = patterns{2}(4,:);
o = compute_outputs(weights, testing_patterns);
cost = cost_function(S_testing_patterns, o);
